package gui.event.tiemchung;

import gui.event.ulti.Util;
import gui.tiemchung.TCTimKiemHoSo_Dialog;
import gui.tiemchung.TCXoa_Full;
import java.util.List;
import javax.swing.JComponent;
import javax.swing.JDialog;
import javax.swing.JOptionPane;


public class TCXoaHoSoFull_evt {

    public static void btnTimKiemActionPerformed(JDialog parent, boolean b) {
        JDialog tcTimKiemHoSo = new TCTimKiemHoSo_Dialog(null, b);
        tcTimKiemHoSo.setLocationRelativeTo(parent);
        tcTimKiemHoSo.setVisible(true);
    }

    public static void btnXoaActionPerformed(JDialog parent, boolean b) {
        btnCloseActionPerformed(parent);
        JOptionPane.showMessageDialog(parent, "Đã xóa xong");
        Util.disableListComponents((List<JComponent>) parent);
    }

    public static void btnCloseActionPerformed(JDialog dlg) {
        dlg.dispose();
    }
    
    
}
